﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Base.Api.Admin.Controllers
{
    [Route("api/[controller]/[action]")]
  /*  [ApiExplorerSettings(GroupName = "User")]*///分组
    [ApiController]
   
    public class UserController : ControllerBase
    {

        /// <summary>
        /// 测试
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [Filters.ActionLog(group = "测试", name = "用户测试")]//日志记录
       /* [Authorize]*/
        public IActionResult Test()
        {
            return Ok(new
            {
                pord ="8089"
            }) ;
        }
    }
}
